<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">

<!-- BEGIN HEAD -->

<head>

    <meta charset="utf-8"/>

    <title>学生信息</title>

    <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
    <meta content="" name="description"/>
    <meta th:content="${session.authorities}" id="authority"/>

    <!-- BEGIN GLOBAL MANDATORY STYLES -->

    <link href="/media/css/bootstrap.min.css" rel="stylesheet"
          type="text/css"/>
    <link href="/media/css/bootstrap-responsive.min.css" rel="stylesheet"
          type="text/css"/>

    <link href="/media/css/font-awesome.min.css" rel="stylesheet"
          type="text/css"/>

    <link href="/media/css/style-metro.css" rel="stylesheet" type="text/css"/>

    <link href="/media/css/style.css" rel="stylesheet" type="text/css"/>

    <link href="/media/css/style-responsive.css" rel="stylesheet"
          type="text/css"/>
    <link rel="stylesheet" href="/media/css/DT_bootstrap.css"/>

    <link rel="shortcut icon" href="/media/image/favicon.ico"/>
</head>

<!-- END HEAD -->

<!-- BEGIN BODY -->

<body>

<div class="">

    <div class="row-fluid">
        <div class="span12" style="border-bottom: 1px solid darkgray;">
            <!-- BEGIN FORM-->
            <div class="form-horizontal form-view">
                <div class="row-fluid">
                    <div class="span4">
                        <div class="control-group">
                            <label class="control-label">学员姓名:</label>
                            <div class="controls">
                                <span class="text" th:text="${student.stuName}">Bob</span>
                            </div>
                        </div>
                    </div>
                    <!--/span-->
                    <div class="span4">
                        <div class="control-group">
                            <label class="control-label">学员昵称:</label>
                            <div class="controls">
                                <span class="text" th:text="${student.stuNickName}">Nilson</span>
                            </div>
                        </div>
                    </div>
                    <div class="span4">
                        <div class="control-group">
                            <label class="control-label">学员生日:</label>
                            <div class="controls">
											<span class="text"
                                                  th:text="${student.stuBirth != null} ?${#calendars.format(student.stuBirth,'yyyy-MM-dd')}:'2017-4-28'">2017-08-25</span>
                            </div>
                        </div>
                    </div>
                </div>
                <!--/row-->
                <div class="row-fluid">
                    <div class="span4">
                        <div class="control-group">
                            <label class="control-label">分配次数:</label>
                            <div class="controls">
                                <span class="text" th:text="${student.stuAssignCount}">10</span>
                            </div>
                        </div>
                    </div>
                    <div class="span4">
                        <div class="control-group">
                            <label class="control-label">最后分配时间:</label>
                            <div class="controls">
                                <span class="text" th:text="${student.stuAssignDate != null} ?${#calendars.format(student.stuAssignDate,'yyyy-MM-dd HH:mm:ss')}:'2017-7-28 12:34:35'">15988864930</span>
                            </div>
                        </div>
                    </div>
                    <!--/span-->
                    <div class="span4">
                        <div class="control-group">
                            <label class="control-label">顾问:</label>
                            <div class="controls">
                                <span class="text" th:text="${student.stuTelephone}">Free</span>
                            </div>
                        </div>
                    </div>
                    <!--/span-->
                </div>
            </div>
            <input  type="hidden" id="stu_id" th:value="${student.id}">
        </div>
    </div>
    <div class="row-fluid">
        <div class="span12">
            <table
                    class="table table-striped table-bordered table-hover table-full-width"
                    id="table">
                <thead>
                <tr>
                    <th>第几次分配</th>
                    <th>分配前顾问 | 老师</th>
                    <th>分配后顾问 | 老师</th>
                    <th>操作人</th>
                    <th>操作时间</th>
                </tr>
                </thead>
                <tbody>
                </tbody>
            </table>
        </div>
    </div>

</div>


<script src="/media/js/jquery-1.10.1.min.js" type="text/javascript"></script>

<script src="/media/js/jquery-migrate-1.2.1.min.js"
        type="text/javascript"></script>

<script src="/media/js/jquery-ui-1.10.1.custom.min.js"
        type="text/javascript"></script>

<script src="/media/js/bootstrap.min.js" type="text/javascript"></script>

<script type="text/javascript" src="/media/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/media/js/DT_bootstrap.js"></script>


<script src="/media/js/app.js"></script>


<script src="/media/js/assignhistorylist.js"></script>

<!-- END PAGE LEVEL SCRIPTS -->

<script>
    jQuery(document).ready(function () {

        App.init();

        AssignHistoryList.init();

    });
</script>

</body>

<!-- END BODY -->

</html>